								
					</div><!-- /.page-content -->
				</div><!-- /.main-content -->
				<!--<div class="ace-settings-container" id="ace-settings-container">
					<div class="btn btn-app btn-xs btn-warning ace-settings-btn" id="ace-settings-btn">
						<i class="icon-cog bigger-150"></i>
					</div>

					<div class="ace-settings-box" id="ace-settings-box">
						<div>
							<div class="pull-left">
								<select id="skin-colorpicker" class="hide">
									<option data-skin="default" value="#438EB9">#438EB9</option>
									<option data-skin="skin-1" value="#222A2D">#222A2D</option>
									<option data-skin="skin-2" value="#C6487E">#C6487E</option>
									<option data-skin="skin-3" value="#D0D0D0">#D0D0D0</option>
								</select>
							</div>
							<span>&nbsp; Choose Skin</span>
						</div>

						<div>
							<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-navbar" />
							<label class="lbl" for="ace-settings-navbar"> Fixed Navbar</label>
						</div>

						<div>
							<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-sidebar" />
							<label class="lbl" for="ace-settings-sidebar"> Fixed Sidebar</label>
						</div>

						<div>
							<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-breadcrumbs" />
							<label class="lbl" for="ace-settings-breadcrumbs"> Fixed Breadcrumbs</label>
						</div>

						<div>
							<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-rtl" />
							<label class="lbl" for="ace-settings-rtl"> Right To Left (rtl)</label>
						</div>

						<div>
							<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-add-container" />
							<label class="lbl" for="ace-settings-add-container">
								Inside
								<b>.container</b>
							</label>
						</div>
					</div>
				</div><!- - /#ace-settings-container -->
			</div><!-- /.main-container-inner -->

			<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
				<i class="icon-double-angle-up icon-only bigger-110"></i>
			</a>
		</div><!-- /.main-container -->

		<!-- basic scripts -->

		<!--[if !IE]> -->

		<script type="text/javascript">
			window.jQuery || document.write("<script src='<?php echo base_url('assets/admin/js/jquery-2.0.3.min.js'); ?>'>"+"<"+"/script>");
		</script>

		<!-- <![endif]-->

		<!--[if IE]>
<script type="text/javascript">
 window.jQuery || document.write("<script src='<?php echo base_url('assets/admin/js/jquery-1.10.2.min.js'); ?>'>"+"<"+"/script>");
</script>
<![endif]-->

		<script type="text/javascript">
			if("ontouchend" in document) document.write("<script src='<?php echo base_url('assets/admin/js/jquery.mobile.custom.min.js'); ?>'>"+"<"+"/script>");
		</script>
		<script src="<?php echo base_url('assets/admin/js/bootstrap.min.js'); ?>"></script>
		<script src="<?php echo base_url('assets/admin/js/typeahead-bs2.min.js'); ?>"></script>

		<!-- page specific plugin scripts -->
		<script src="<?php echo base_url('assets/admin/js/chosen.jquery.min.js'); ?>"></script>
		<script src="<?php echo base_url('assets/admin/js/date-time/bootstrap-datepicker.min.js'); ?>"></script>
		<script src="<?php echo base_url('assets/admin/js/date-time/locales/bootstrap-datepicker.es.js'); ?>"></script>
		<script src="<?php echo base_url('assets/admin/js/jquery.dataTables.min.js'); ?>"></script>
		<script src="<?php echo base_url('assets/admin/js/jquery.dataTables.bootstrap.js'); ?>"></script>
		<script src="<?php echo base_url('assets/admin/ckeditor/ckeditor.js'); ?>"></script>

		<!-- ace scripts -->
		<script src="<?php echo base_url('assets/admin/js/ace-elements.min.js'); ?>"></script>
		<script src="<?php echo base_url('assets/admin/js/ace.min.js'); ?>"></script>

		<!-- inline scripts related to this page -->
		<script type="text/javascript">
			jQuery(function($) {
				// data tables
				var dtLang = {
					"sLengthMenu": "Mostrar _MENU_ entradas por página",
					"sZeroRecords": "No se encontraron resultados",
					"sInfo": "Mostrando desde _START_ hasta _END_ de un total de _TOTAL_ entradas",
					"sInfoEmpty": "",
					"sInfoFiltered": "(Filtrado de un total de _MAX_ entradas)",
					"sSearch": "Buscar"
				};
				
				// tabla de novedades
				var oTable1 = $('#table-novedades').dataTable({
					"aoColumns": [
						{"bSortable": false},
						{"bSortable": false},
						{"bSortable": false},
						{"bSortable": false},
						null,
						null,
						{"bSortable": false}
					],
					"oLanguage": dtLang
				});				
				if($('#table-novedades').length) { oTable1.fnSort([[4,'desc']]); }
				
				// tabla de eventos
				var oTable4 = $('#table-eventos').dataTable({
					"aoColumns": [
						{"bSortable": false},
						{"bSortable": false},
						{"bSortable": false},
						{"bSortable": false},
						{"bSortable": false},
						{"bSortable": false},
						{"bSortable": false},
						null,
						null,
						{"bSortable": false}
					],
					"oLanguage": dtLang
				});				
				if($('#table-eventos').length) { oTable4.fnSort([[7,'desc']]); }
				
				// tabla de inscritos
				var oTable5 = $('#table-inscritos').dataTable({
					"aoColumns": [
						{"bSortable": false},
						{"bSortable": false},
						{"bSortable": false},
						{"bSortable": false},
						{"bSortable": false},
						null
					],
					"oLanguage": dtLang
				});				
				if($('#table-inscritos').length) { oTable5.fnSort([[6,'desc']]); }
				
				// tabla de cursos y eventos
				$('.table-cursosyeventos').each(function() {
					$(this).dataTable({
						"aoColumns": [
							{"bSortable": false},
							{"bSortable": false},
							null,
							{"bSortable": false},
							{"bSortable": false}
						],
						"oLanguage": dtLang
					}).fnSort([[2,'desc']]);
				});
				
				// tabla de miembros, equipo
				var oTable6 = $('#table-unsorted').dataTable({
					"bSort": false,
					"oLanguage": dtLang
				});
				
				// tabla de sala de prensa, videos
				var oTable7 = $('#table-notas').dataTable({
					"aoColumns": [
						{"bSortable": false},
						{"bSortable": false},
						{"bSortable": false},
						null,
						null,
						{"bSortable": false}
					],
					"oLanguage": dtLang
				});				
				if($('#table-notas').length) { oTable7.fnSort([[3,'desc']]); }
				
				// borrar filas
				$(document).on("click", "[data-delete]", function() {
					if(confirm("La fila se eliminará y no se podrá recuperar la información\n\n" + 
					"¿Está seguro de que desea eliminar?")) {
						window.location.href = $(this).data("delete");
					}
				});
			
				$('[data-rel=tooltip]').tooltip({container:'body'});
				$('[data-rel=popover]').popover({container:'body'});
				
				$('#id-input-file-2').ace_file_input({
					no_file:'Archivo ...',
					btn_choose:'Seleccionar',
					btn_change:'Cambiar',
					droppable:false,
					onchange:null,
					thumbnail:false, //| true | large
				});
				
				$('#id-input-file-3').ace_file_input({
					no_file:'Archivo ...',
					btn_choose:'Seleccionar',
					btn_change:'Cambiar',
					droppable:false,
					onchange:null,
					thumbnail:false, //| true | large
				});
				
				$('.date-picker').datepicker({autoclose:true, language: "es"}).next().on(ace.click_event, function(){
					$(this).prev().focus();
				});
				
				// active
				$("ul.nav").find("a").each(function() {
					var href = $(this).attr("href");
					if(window.location.href.match(href)) {
						$(this).closest("li").addClass("active").closest("ul.submenu").parent().addClass("active open");
						return false;
					}
				});
				
				// window
				$(window).on({
				resize: function() {
					$("#w_slider").height(Math.floor($("#w_slider").width() * 0.2515625));
				},
				load: function() {
					$(this).trigger("resize");
				}}).trigger("resize");
			});
		</script>		
	</body>
</html>